-
-
Notifications
You must be signed in to change notification settings - Fork 623
refactor(#2837): multi instance reload #2885
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
require("nvim-tree.explorer.watch").setup(opts) | ||
|
||
Marks = require "nvim-tree.marks" | ||
Clipboard = require "nvim-tree.actions.fs.clipboard" | ||
end | ||
|
||
M.Explorer = Explorer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flattened into a single class.
end | ||
end | ||
|
||
---TODO #2837 #2871 move this and similar to node |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll need explorer aware nodes.
@@ -42,27 +48,24 @@ function Explorer.new(path) | |||
end | |||
|
|||
---@class Explorer | |||
local explorer = setmetatable({ | |||
local o = setmetatable({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Follow pattern elsewhere.
Successful dogfooding for a week. |
fixes #2837